package com.sp.system.user.customer.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sp.system.user.core.entity.Menu;
import com.sp.system.user.core.entity.Role;
import com.sp.system.user.core.entity.UserRole;

import java.util.List;

public interface RoleMapper extends BaseMapper<Role> {

    List<Role> queryRoleByUserId(UserRole role);

    List<Role> queryRoleByMenuUrl(Menu menu);

}
